home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
tclMotif-1.4
/
programs
/
xtmfmrc
< prev
Wrap
Text File
|
1995-06-29
|
3KB
|
277 lines
loadActions {
{ type f
pattern [mM]akefile
pixmap makefile.xbm
description Makefile
{
label make
run_in_xterm
pause_after_exec
action "make -f $0"
}
{
label edit
run_in_xterm
action "vi $0"
}
{ label print
action "lpr $0"
}
}
{ type f
pattern *.c
pixmap ccode.xbm
description "C source code"
{
label edit
run_in_xterm
action "vi $0"
}
{
label more
run_in_xterm
pause_after_exec
action "more $0"
}
{
label "to
object"
run_in_xterm
pause_after_exec
action "gcc -c $0"
}
{
label "to
executable"
run_in_xterm
pause_after_exec
action "gcc -o ${0%.c} $0"
}
{ label print
action "lpr $0"
}
}
{ type f
pattern *.tar
pixmap file.xbm
description "tar archive"
{
label "tar x"
action "tar xf $0"
}
{
label "tar t"
run_in_xterm
pause_after_exec
action "tar tf $0"
}
{
label "tar xv"
run_in_xterm
pause_after_exec
action "tar xvf $0"
}
}
{ type f
pattern *.o
pixmap ocode.xbm
description "object module"
{
label "to
executable"
run_in_xterm
pause_after_exec
action "gcc -o ${0%.o} $0"
}
}
{ type f
pattern *.Z
pixmap z.xbm
description "compressed file"
{
label uncompress
action "uncompress $0"
}
{
label more
run_in_xterm
pause_after_exec
action "zcat $0 | more"
}
}
{ type f
pattern core
pixmap core.xbm
description "core dump"
{
label remove
action "rm $0"
}
{
label debug
prompt "file to debug"
action "x11ups $1 $0"
}
}
{ type f
pattern *.xbm
pixmap bitmap.xbm
description "X bitmap"
{
label edit
action "bitmap $0"
}
}
{ type f
pattern *.gif
pixmap bitmap.xbm
description "GIFF image"
{
label edit
action "xli $0"
}
}
{ type f
pattern *.jpg
pixmap bitmap.xbm
description "JPEG image"
{
label view
action "xli $0"
}
}
{ type f
pattern *
pixmap file.xbm
{
label edit
run_in_xterm
action "vi $0"
}
{
label more
run_in_xterm
pause_after_exec
action "more $0"
}
{ label print
action "lpr $0"
}
}
{ type x
pattern x*
pixmap xlogo32
description "X program"
{
label execute
action "$0"
}
{
label debug
action "x11ups $0"
}
}
{ type x
pattern *
pixmap prog.xbm
description program
{
label execute
run_in_xterm
pause_after_exec
action "$0"
}
{
label debug
action "x11ups $0"
}
}
{ type d
pattern .
pixmap herefolder.xbm
description "current directory"
{
label refresh
action "$cd $0"
}
{
label open
action "$opendir $0"
}
}
{ type d
pattern ..
pixmap dotdot.xbm
description "parent directory"
{
label chdir
action "$cd $0"
}
{
label open
action "$opendir $0"
}
}
{ type d
pattern *
pixmap folder.xbm
{
label chdir
action "$cd $0"
}
{
label open
action "$opendir $0"
}
{
label home
action "$cd ~"
}
{
label "open home"
action "$opendir ~"
}
}
{ type p
pattern *
pixmap ""
{
label make
run_in_xterm
pause_after_exec
action make
}
{
label information
run_in_xterm
pause_after_exec
action "$information $0"
}
{
label remove
action "rm -r $0"
confirm "remove file $0?"
}
{
label "refresh
dir"
action "$cd ."
}
}
}